package com.borislam.service;


import com.borislam.domain.Person;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.borislam.repository.ProductRepository2;

@Service
public class ProductService2 {
	
	@Autowired
        private ProductRepository2 productRepository2;
	

	
        
        public void savePersone(Person p){		
		productRepository2.save(p);
	}
	

}
